package com.fjnldx.mes.domain.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Getter
@Setter
public class PrePlan {
  @ApiModelProperty(hidden = true)
  private Integer id;
  @ApiModelProperty(notes = "订单编号",example = "SO20201023001")
  private String ddbh;
  @ApiModelProperty(hidden = true)
  private String pre_bh;
  @ApiModelProperty(hidden = true)
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
  private LocalDate time;
  private String cj;
  @ApiModelProperty(hidden = true)
  private String status;
  @ApiModelProperty(hidden = true)
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
  private LocalDateTime update_time;
  private int jhkt;
  private int jhtt;
  private Double jhcl;
  private Double jhtc;
  private Double llcl;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
  private LocalDate start_time;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
  private LocalDate end_time;
}
